package com.advertisementsystem.Mapper;

import com.advertisementsystem.entity.Payment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {
    @Select("SELECT * FROM ad_payment WHERE order_no = #{orderNo}")
    Payment findByOrderNo(String orderNo);
}
